Skip to content

[WIP]Add xlbtc#189

Merged
acollette merged 19 commits intomainfrom
add_xlbtc
Dec 19, 2025
Merged

[WIP]Add xlbtc#189
acollette merged 19 commits intomainfrom
add_xlbtc

Conversation

@pscott
Copy link
Contributor

@pscott pscott commented Nov 10, 2025

Summary

  • Add support for XLBTC as a new collateral branch
  • Implement XLBTCPriceFeed contract using Pragma oracle with composite pricing (XLBTC/USD price directly)
  • Add dedicated deployment script (deploy_xlbtc_branch.ts) for deploying the XLBTC branch independently
  • Configure XLBTC-specific parameters: 125% MCR, 150% CCR, 110% SCR, 10 XLBTC cap, 5%/20% liquidation penalties

Left TODO:

  • Deploy new branch using script (linking step has already been commented out)
  • Call add_collateral on the Collateral Registry and add_branch_address on USDU.

Test Plan

  • Verify XLBTC price feed returns correct composite price from Pragma oracle before linking
  • Test trove operations (open, adjust, close) with XLBTC collateral
  • Validate liquidation and redemption flows work with new branch

@acollette acollette marked this pull request as ready for review December 19, 2025 13:40
@acollette acollette merged commit f278a1a into main Dec 19, 2025
1 of 2 checks passed
@acollette acollette deleted the add_xlbtc branch December 19, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants